public abstract class Employee implements SalaryCalculator{
    String name;
    double salary;
    int workYear;

    public Employee() {
    }

    public Employee(String name, double salary, int workYear) {
        this.name = name;
        this.salary = salary;
        this.workYear = workYear;
    }

    public abstract void work();

    @Override
    public void addSalary() {

    }
}
